/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/ccjzxyxt">ccjzxyxt</a> All rights reserved.
 */
package cn.net.dckj.modules.biz.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.net.dckj.common.persistence.Page;
import cn.net.dckj.common.service.CrudService;
import cn.net.dckj.modules.biz.entity.ClassTime;
import cn.net.dckj.modules.biz.dao.ClassTimeDao;

/**
 * 上课时间信息Service
 * @author xzy
 * @version 2019-05-09
 */
@Service
@Transactional(readOnly = true)
public class ClassTimeService extends CrudService<ClassTimeDao, ClassTime> {
	@Autowired
	private ClassTimeDao  classTimeDao;

	public ClassTime get(String id) {
		return super.get(id);
	}
	
	public List<ClassTime> findList(ClassTime classTime) {
		return super.findList(classTime);
	}
	
	public Page<ClassTime> findPage(Page<ClassTime> page, ClassTime classTime) {
		return super.findPage(page, classTime);
	}
	
	@Transactional(readOnly = false)
	public void save(ClassTime classTime) {
		super.save(classTime);
	}
	
	@Transactional(readOnly = false)
	public void delete(ClassTime classTime) {
		super.delete(classTime);
	}
	@Transactional(readOnly = false)
	public void deleteAll(String teacherTimetableId) {
		classTimeDao.deleteAll(teacherTimetableId);
	}


}